<include file="__PUBLIC__/header.html" />
<css file="__PUBLIC__/css/arc.css" />
<js file="__PUBLIC__/js/arc.js" />
</head>
<body>
		<h2>
            <a href="{|U('index')}">备份数据库</a>
        </h2>
        <div class="arcslist">
            <table class="table1">
                <thead>
                    <tr style="background:#72A9D3">
                        <!-- 全选box -->
                    	<th width="10"><input type="checkbox" name="selectallbtn"/></th>
                        <th>数据库备份文件</th>
                        <th>备份时间</th>
                        <th width="260">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <!-- 遍历所有备份的 -->
                    <list from="$bakdata" name="n">
                    <tr class="arclist">
                        <td><input type="checkbox" name="allarc" aid="{$n.aid}"/></td>
                        <td>{$n.name}</td>
                        <td>{$n.name|date:'Y-m-d H:i:s',@@}</td>
                        <td>
                            <!-- 数据库备份文件操作 -->
                            <a href="{|U('recovery','dir='.$n['name'])}">还原</a> |
                            <a href="javascript:void(0)" class="delarc" aid="{$n.aid}">删除</a>
                        </td>
                    </tr>
                    </list>
                </tbody>
            </table>
            <!-- 数据库备份选项操作 -->
            <div class="cancelAll">
            	<a href="javascript:void(0)" class="selectall">全选</a>
            	<a href="javascript:void(0)" class="toggle">反选</a>
            	<a href="javascript:void(0)" class="delselect">删除</a>
            </div>
        </div><!-- arcslist -->



</body>
</html>